package com.yst.shader

import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.yst.shader.ext.newContainer
import com.yst.shader.ext.pushFragment
import com.yst.shader.feature.shimmer.RecycleShimmerFragment
import com.yst.shader.feature.shimmer.ShaderSimpleFragment
import com.yst.shader.feature.shimmer.ShaderTestFragment
import com.yst.shader.feature.shimmer.ShimmerFaceBookFragment
import com.yst.shader.feature.white_board.SimpleBoardFragment

/**
 * @author: xuyujian@ysten.com
 *  @date: 2020/8/14 13:35
 */
class MainTestFragment : Fragment() {


    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View = requireContext().newContainer {
        pushFragment("test shader ...", ShaderTestFragment())
        pushFragment("test board ...", SimpleBoardFragment())

    }


}